package com.hellogood.yaohuo.shared.services;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.hellogood.yaohuo.shared.vo.BasicVo;

@RemoteServiceRelativePath("CommonService")
public interface CommonService extends RemoteService {
	public static class Util {
		private static CommonServiceAsync instance;

		public static CommonServiceAsync getInstance() {
			if (instance == null) {
				instance = GWT.create(CommonService.class);
			}
			return instance;
		}
	}

	public BasicVo getBasicVoByCodeAndOrgCode(String code, String orgCode);
	
	public BasicVo getBasicVoByCodeAndOrgCodePeisong(String code, String orgCode);
	
	public BasicVo getBasicVoByCodeAndOrgCodePeisongTuihuo(String code, String orgCode);
}
